package routers

import (
	"WORKSPACE/controllers"
	"github.com/gin-gonic/gin"
)

func ordersRouter(r *gin.RouterGroup) {
	r.GET("/orders", controllers.GetOrders)
	r.DELETE("/orders", controllers.DelOrders)
	r.PUT("/orders", controllers.UpdateOrders)
	r.POST("/orders", controllers.AddOrders)
}
